package com.zoo.diannaopeijian.mapper;

import com.zoo.diannaopeijian.common.mapper.CommMapper;
import com.zoo.diannaopeijian.domain.Ware;
import com.zoo.diannaopeijian.domain.WareParameterDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WareParameterDetailMapper extends CommMapper<WareParameterDetail> {
    List<Ware> selectParameterDetailWare(
            @Param("ware") Ware ware,
            @Param("componentId") Integer componentId,
            @Param("componentParameterDetailIds") List<Integer> componentParameterDetailIds
    );

    List<Ware> getFuzzyParameterDetailWare(
            @Param("ware") Ware ware,
            @Param("componentId") Integer componentId,
            @Param("componentParameterDetailIds") List<Integer> componentParameterDetailIds
    );

    List<Map> selectWareParameterDetail(Integer wareId);
}